package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.*;
import one.stand.response.CompanyRecruitResponse;

import java.util.List;

/**
 * @author Administrator
 */
public interface PersonalService {

    /**
     * 添加收藏
     */
    ResultModel addCollection(Integer userId, Integer itemType, Integer itemId);

    /**
     * 取消收藏
     */
    ResultModel delCollection(Integer userId, Integer itemType, Integer itemId);

    /**
     * 查询收藏
     */
    ResultModel getCollection(CollectionRequest request);

    /**
     * 查询公司信息
     */
    ResultModel getCompanyAllInfo(CompanyRequest request);

    /**
     * 查询公司招聘信息
     */
    ResultModel<List<CompanyRecruitResponse>> getCompanyRecruit(CompanyRecruitRequest request);
}
